Evolution of biological complexity